package com.wangxiang.shop.order.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-04-08 15:29:08
 */
@Data
@TableName("member_order")
public class MemberOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private int orderId;

	private int userId;

	private int spuId;

	private int skuId;

	private int num;

	private double price;

	private String image;

	private Date time;
	@TableField(exist = false)
	private String timeStr;
	private String explanation;
	private int cartId;
	private int status; //订单状态 0 订购成功,代发货 1 已发货 代签收，2签收，订单完成，形成历史订单 4退订 3 申请退单 5退单失败
	private int receiptId;
	private String remark;
	private String unRemark;


}
